package com.zcxx.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zcxx.common.Result;
import com.zcxx.model.Employee;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface EmployeeService  extends IService<Employee> {
    // 插入员工信息(包含图片)
    public String saveEmployee(Employee employee, MultipartFile photo) throws IOException;

    //更新员工信息(包含图片)
    String updateEmployee(Employee employee, MultipartFile photo) throws IOException;

    //根据id删除员工(包含图片)
    public String deleteEmployeeById(Integer id) throws IOException;
}
